package com.mindainfo.groundwave.common.api.device.service;

import com.mindainfo.groundwave.common.api.device.vo.RelayVo;
import com.mindainfo.groundwave.common.bean.CommonResult;
import com.mindainfo.groundwave.common.bean.DataGrid;

import java.util.Date;

/**
 * Created by MD-01 on 2017/5/18.
 */
public interface IRelayService {

    CommonResult<Void> add(String deviceId,Integer state,
                           String maker,String version,Date productionDate);

    CommonResult<DataGrid<RelayVo>> queryList(int start,int num,String key);
}
